.PHNOY:all
all:main

test:test.c
	gcc -o $@ $^ -lpthread
mythread:mythread.c
	gcc -o $@ $^ -lpthread
main:main.c
	gcc -o $@ $^ -lpthread
.PHNOY:clean
clean:
	rm -f test mythread main